package com.heima.mapper;

import com.heima.pojo.Partner;
import com.heima.pojo.dto.PartnerDTO;
import com.heima.pojo.vo.PartnerVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PartnerMapper {
    void savePartner(Partner partner);

    List<PartnerVO> page(PartnerDTO partnerDTO);

    PartnerVO getById(Integer id);

    int update(Partner partner);

    int delete(Long id);
}
